//package com.wuhan.retrosnaker.configurer;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
///**
// * @author wuhan
// * @date 2019/11/18 16:19
// */
//@Configuration
//public class StaticResourceConfig  extends WebMvcConfigurationSupport {
//    @Override
//    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/**").addResourceLocations("classpath:/static");
//        super.addResourceHandlers(registry);
//    }
//}
